﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace GpUI.App_Start
{
    public class ShowQuan: ActionFilterAttribute
    { 
            public override void OnActionExecuting(ActionExecutingContext filterContext)
            {
                if (filterContext.HttpContext.Session["CustomerID"] == null)
                {
                    filterContext.HttpContext.Response.Redirect("/Login/Usert");
                }
            }

        
    }
}